import request from '@/utils/request'

export function goodsCount(data) {
  return request({
    url: '/goods_admin/count',
    method: 'post',
    data
  })
}
export function queryShopGoods(data) {
  return request({
    url: '/goods_admin/queryShopGoods',
    method: 'post',
    data
  })
}
export function queryShopGoodsByid(data) {
  return request({
    url: '/goods_admin/queryShopGoodsByid',
    method: 'post',
    data
  })
}

export function queryKeyword(data) {
  return request({
    url: '/keyword_admin/queryKeyword',
    method: 'post',
    data
  })
}
export function addKeyWord(data) {
  return request({
    url: '/keyword_admin/addKeyWord',
    method: 'post',
    data
  })
}
export function updateKeyWord(data) {
  return request({
    url: '/keyword_admin/updateKeyWord',
    method: 'post',
    data
  })
}
export function queryIssue(data) {
  return request({
    url: '/issue_admin/queryIssue',
    method: 'post',
    data
  })
}
export function addShopIssue(data) {
  return request({
    url: '/issue_admin/addShopIssue',
    method: 'post',
    data
  })
}
export function updateShopIssue(data) {
  return request({
    url: '/issue_admin/updateShopIssue',
    method: 'post',
    data
  })
}
export function queryRegion(data) {
  return request({
    url: '/region_admin/queryRegion',
    method: 'post',
    data
  })
}
export function queryShopBrand(data) {
  return request({
    url: '/shopBrand_admin/queryShopBrand',
    method: 'post',
    data
  })
}
export function updateShopBrand(data) {
  return request({
    url: '/shopBrand_admin/updateShopBrand',
    method: 'post',
    data
  })
}
export function addShopBrand(data) {
  return request({
    url: '/shopBrand_admin/addShopBrand',
    method: 'post',
    data
  })
}
export function updateProduct(data) {
  return request({
    url: '/goods_admin/updateProduct',
    method: 'post',
    data
  })
}
export function goodSoldOut(data) {
  return request({
    url: '/goods_admin/goodSoldOut',
    method: 'post',
    data
  })
}

